package com.springboot.project.common.service.impl;

import com.springboot.project.common.entity.Dept;
import com.springboot.project.common.dao.DeptDao;
import com.springboot.project.common.service.DeptService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * 部门表
 *
 * @author lby
 * @email 2571664742@qq.com
 * @date 2018-06-30
 */
@Service
public class DeptServiceImpl extends ServiceImpl<DeptDao, Dept> implements DeptService {

	@Override
	public List<Map<String, Object>> list(Map<String, Object> map) {
		return baseMapper.list(map);
	}

	@Override
	public int count(Map<String, Object> map){
		return baseMapper.count(map);
	}
}
